<html>
<head>
	<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1">
	<meta name="layout" content="main">
	
	<g:javascript>
		<!-- if(navigator.userAgent.indexOf("Android") != -1 || navigator.userAgent.indexOf("Symbian") != -1 || navigator.userAgent.indexOf("iPhone") != -1)
		{
			window.location.replace(location.href.replace(location.pathname,'/eolica/index_m.gsp'))
		}	 -->	
	</g:javascript>
	
</head>
<body id="body">




<div id="loginBox" class="loginBox">
<g:if test="${!session?.user}">
	<g:form name="loginForm" url="[controller:'user',action:'login']">
	<table align="center">
		<tr align="center">

			<th>Login </th>
			<td align="left">
				<g:textField size="25" name="login"></g:textField>
			</td>
			
		</tr>
			<tr align="center">

			<th>Senha </th>
			<td colspan="2"  align="left">
				  <g:passwordField size="25" name="password" />
			</td>
		</tr>		
		<tr>
			<g:hasErrors bean="${loginCmd}">
    			<td colspan="2"  class="MensagemErro">
					<g:renderErrors bean="${loginCmd}"></g:renderErrors>
				</td>
			</g:hasErrors>
		</tr>
		<tr>
			<td colspan="2">
				<table align="right">
					<tr align="right">
						<td>
							<div align="right">
						  		<input type="submit" value="Login" />
						  	</div>
					  	</td>						  
					</tr>
				</table>
			</td>
		</tr>
	</table>
	</g:form>
</g:if> <g:else>


	
</g:else></div>


</body>
</html>
<g:redirectMobilePage/>